package yl.hs.bmipfull.pojo.system;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  站内信息实体类<br/>
 * 创建时间: 2021年05月12日 16时09分41秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "站内信", mapCode = "site_message_main")
public class SiteMessageMainEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "站内信编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "SMSG")
    private String sn;
    /**
     * 发件人编号
     */
    private String senderSN;
    /**
     * 发件人姓名
     */
    private String serderName;
    /**
     * 发件人姓名拼音
     */
    private String serderNamePY;
    /**
     * 信息标题
     */
    private String subject;
    /**
     * 信息标题拼音
     */
    private String subjectPY;
    /**
     * 发件时间
     */
    private Object sendTime;
    /**
     * 信息类型
     */
    private Short msgType;
    /**
     * 发件状态
     * 0:草稿
     * 1:正式消息
     */
    private short state;
    /**
     * 信息内容
     */
    private String msgBody;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSenderSN() {
        return this.senderSN;
    }

    public void setSenderSN(String senderSN) {
        this.senderSN = senderSN;
    }

    public String getSerderName() {
        return this.serderName;
    }

    public void setSerderName(String serderName) {
        this.serderName = serderName;
    }

    public String getSerderNamePY() {
        return this.serderNamePY;
    }

    public void setSerderNamePY(String serderNamePY) {
        this.serderNamePY = serderNamePY;
    }

    public String getSubject() {
        return this.subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSubjectPY() {
        return this.subjectPY;
    }

    public void setSubjectPY(String subjectPY) {
        this.subjectPY = subjectPY;
    }

    public Object getSendTime() {
        return this.sendTime;
    }

    public void setSendTime(Object sendTime) {
        this.sendTime = sendTime;
    }

    public Short getMsgType() {
        return this.msgType;
    }

    public void setMsgType(Short msgType) {
        this.msgType = msgType;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getMsgBody() {
        return this.msgBody;
    }

    public void setMsgBody(String msgBody) {
        this.msgBody = msgBody;
    }


}